
import javax.swing.*;
import java.awt.*;

public class Example01 {
    public static void main(String args[]) {
        JFrame window1 = new JFrame("第一个窗口");
        window1.setBounds(60, 100, 188, 108);
        window1.setVisible(true);
        window1.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);

    }
}